home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / misc / libx11inc.lha / X11 / Xm / SelectioB.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-13  |  2.0 KB  |  76 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
  3.  * ALL RIGHTS RESERVED
  4. */ 
  5. /*   $RCSfile: SelectioB.h,v $ $Revision: 1.11 $ $Date: 92/05/14 12:56:59 $ */
  6. /*
  7. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  8. /*
  9. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  10. #ifndef _XmSelectionBox_h
  11. #define _XmSelectionBox_h
  12.  
  13. #include <Xm/Xm.h>
  14.  
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18.  
  19. /* Class record constants */
  20.  
  21. externalref WidgetClass xmSelectionBoxWidgetClass;
  22.  
  23. typedef struct _XmSelectionBoxClassRec * XmSelectionBoxWidgetClass;
  24. typedef struct _XmSelectionBoxRec      * XmSelectionBoxWidget;
  25.  
  26.  
  27. #ifndef XmIsSelectionBox
  28. #define XmIsSelectionBox(w)  (XtIsSubclass (w, xmSelectionBoxWidgetClass))
  29. #endif
  30.  
  31.  
  32.  
  33. /********    Public Function Declarations    ********/
  34. #ifdef _NO_PROTO
  35.  
  36. extern Widget XmSelectionBoxGetChild() ;
  37. extern Widget XmCreateSelectionBox() ;
  38. extern Widget XmCreateSelectionDialog() ;
  39. extern Widget XmCreatePromptDialog() ;
  40.  
  41. #else
  42.  
  43. extern Widget XmSelectionBoxGetChild( 
  44.                         Widget sb,
  45. #if NeedWidePrototypes
  46.                         unsigned int which) ;
  47. #else
  48.                         unsigned char which) ;
  49. #endif /* NeedWidePrototypes */
  50. extern Widget XmCreateSelectionBox( 
  51.                         Widget p,
  52.                         String name,
  53.                         ArgList args,
  54.                         Cardinal n) ;
  55. extern Widget XmCreateSelectionDialog( 
  56.                         Widget ds_p,
  57.                         String name,
  58.                         ArgList sb_args,
  59.                         Cardinal sb_n) ;
  60. extern Widget XmCreatePromptDialog( 
  61.                         Widget ds_p,
  62.                         String name,
  63.                         ArgList sb_args,
  64.                         Cardinal sb_n) ;
  65.  
  66. #endif /* _NO_PROTO */
  67. /********    End Public Function Declarations    ********/
  68.  
  69.  
  70. #ifdef __cplusplus
  71. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  72. #endif
  73.  
  74. #endif /* _XmSelectionBox_h */
  75. /* DON'T ADD ANYTHING AFTER THIS #endif */
  76.